<?php defined('SYSPATH') OR die('No direct access allowed.');
 
class Model_Genre extends Model
{
  private $genre_table;
 
 /* function __construct()
  {
    parent::__construct();
    $this->genre_table = 'genres';
  }*/
 
  function get_list()
  {
    $query = $this->db->get($this->genre_table);
    $query = DB::query(Database::SELECT, $this->genre_table);
    $result = $query->execute();
    return $result->as_array();
  }
}